import axios from 'axios'
// 图片生成相关接口

// 获取行业分享图片
export function getBrandImage(url, catName) {
    url = encodeURI(url)
    return axios.post('/api/api_qrcode1.php?url=' + url + '&catname=' + catName)
}

// 获取分享二维码
export function getShareImage(url) {
    url = encodeURI(url)
    return axios.post('/api/api_qrcode2.php?url=' + url)
}

// 菜单栏微信客服二维码
export function getServiceImage(url, catName) {
    url = encodeURI(url)
    return axios.post('/api/api_qrcode_wechat.php?url=' + url + '&catname=' + catName)
}
